package com.map.domain;

public class AsItem {

	private String name;
	private String value;
	private String key;
	private int index = Integer.MAX_VALUE;

	public AsItem(String pair) {
		this.name  = pair;
		this.value = pair;
	}

	public AsItem(String name, String value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String toString() {
		return name;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}
}
